package events
{
	import flash.events.Event;
	
	import spark.components.supportClasses.OverlayDepth;
	
	public class SearchRelatedVideosEvent extends Event
	{
		public static var SEARCH_RELATED_VIDEOS_EVENT:String = "searchRelatedVideosEvent";	
		public var videoId:String;
		public var startIndex:Number;
		
		public function SearchRelatedVideosEvent(videoId:String,startIndex:Number = 1)
		{
			super(SEARCH_RELATED_VIDEOS_EVENT,true,false);
			this.videoId = videoId;
			this.startIndex = startIndex;
		}
		
		override public function clone() : Event
		{
			return new SearchRelatedVideosEvent(videoId,startIndex);
		}

	}
}